<template>
  <div>
    <Head></Head>
    <div class="main-body">
      <div class="main-left">
        <Main></Main>
      </div>
      <div class="side">
        <Side></Side>
      </div>
    </div>
  </div>
</template>
<script>
// 组件导入
import Head from "../components/Head.vue";
import Main from "../components/Main.vue";
import Side from "./components/Side.vue";
export default {
  name: "",
  components: {
    Head,
    Main,
    Side,
  },
};
</script>
  
<style scoped>
.main-body {
  display: flex;
}
.main-left {
  margin-right: 20px;
  flex: 2.5;
}
.side {
  flex: 1;
}
</style>